package personal.xjl._23java1studentdemo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import personal.xjl._23java1studentdemo.mapper.TeacherMapper;

import java.util.List;

@Data@NoArgsConstructor@AllArgsConstructor
public class Course {
    int id;
    String name;
    int teacher_id;
    Teacher teacher;
    List<Score> scores;//一对多成绩
    Student student;

}

